package team526.dao;


import org.apache.ibatis.annotations.Mapper;
import team526.entity.Admin;
import team526.entity.Admin_Video;
import team526.entity.Video;

import java.util.Date;
import java.util.List;

@Mapper
public interface AdminDao {
    Admin login(String username, String pwd);

    Integer addCheck(Integer videoid, Boolean pass, String reason, Integer uadmin_id, Date date);

    List<Admin_Video> getChecked(Integer uadmin_id);

    List<Video> getUnchecked(Integer uadmin_id);
}
